//
//  ViewController.m
//  Hello
//
//  Created by wanghui on 13-12-5.
//  Copyright (c) 2013年 student1. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    UILabel*label1=[[UILabel alloc] initWithFrame:CGRectMake(0,400,320,50)]  ;
    label1.text=@"Hello Xcode";
    label1.font=[UIFont systemFontOfSize:24];
    label1.textAlignment=NSTextAlignmentCenter;
    [self.view addSubview:label1];
}
    //创建一个UILabel对象



- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
